<template>
  <el-card class="banner-card-wrapper box-card" :body-style="{ padding: 0 }">
    <el-image style="width: 335px; height: 160px" :src="url" fit="cover" />
  </el-card>
</template>

<script>
export default {
  name: 'BannerCard',
  props: {
    url: {
      type: String,
      default: ""
    }
  },
  data() {
    return {

    }
  },
  methods: {

  }
}
</script>

<style lang="scss" scoped>
.banner-card-wrapper {
  width: 335px;
  height: 160px;
  cursor: pointer;
}
</style>
